package com.coscon.test;

import com.sun.jna.platform.DesktopWindow;
import com.sun.jna.platform.WindowUtils;
//import org.hyperic.sigar.ProcState;
//import org.hyperic.sigar.ProcTime;
//import org.hyperic.sigar.SigarException;
//import org.hyperic.sigar.cmd.SigarCommandBase;

import java.util.List;

public class HypericSigarDemo {

    private void test01(){
        List<DesktopWindow> list =  WindowUtils.getAllWindows(false);
        for(DesktopWindow dw : list){
            System.out.println(dw);
        }
    }




    public static void main(String[] args)   {
        HypericSigarDemo d = new HypericSigarDemo();
        d.test01();

    }



}
